package com.hifar.test.test.pojo.VO;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hifar.plat.baseModal.pojo.BaseOssFiles;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Date;
import java.util.List;

/**
 * @author zhuWeiWei
 * @description 试验终止VO
 * @date 2024/12/24 10:05
 */
@Data
@EqualsAndHashCode
@ApiModel("试验终止VO")
public class HfEnvTestForceEndVO {
    @NotEmpty(message = "id不能为空!")
    private String id;

    @ApiModelProperty("中断时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm")
    @NotNull(message = "中断时间不能为空!")
    private Date realEndTime;

    private String remarks;


    private List<BaseOssFiles> files;

}
